package Day12;

import java.util.*;

/**
 * @Author kalista
 * @Description
 * @Date 2020/11/18  10:14
 **/
public class 折磨1 {
    public static void main(String[] args) {

        List<Map<Integer,List<Dog>>>  list = new ArrayList<>();
        for (Map<Integer, List<Dog>> integerListMap : list) {

            // 遍历
            for(Map.Entry<Integer,List<Dog>> sd : integerListMap.entrySet()){
                List<Dog> value = sd.getValue();
                for (int i = 0; i < value.size(); i++) {
                    Dog dog = value.get(i);
                    System.out.println(dog.getName());
                    System.out.println(dog.getAge());
                    System.out.println(dog.getId());
                }
            }


        }



    }
}
